"""
资源管理页面
"""

from flask import render_template, request, jsonify
from flask_jwt_extended import jwt_required, get_jwt_identity
from app import db
from app.models import Resource, Department, User
from app.web import web_bp

@web_bp.route('/resources')
@jwt_required()
def resources():
    """资源管理页面"""
    return render_template('resources.html')

@web_bp.route('/resources/create')
@jwt_required()
def create_resource():
    """创建资源页面"""
    return render_template('resource_create.html')
